using System.ComponentModel.DataAnnotations;

namespace Healinker.Entities
{
    public partial class DiseaseSymptom
    {
        [Key, Column( Order = 1 ), ForeignKey("Symptom")]
        public int SymptomId { get; set; }

        [Key, Column( Order = 0 ), ForeignKey("Disease")]
        public int DiseaseId { get; set; }
    
        public virtual Disease Disease { get; set; }
        public virtual Symptom Symptom { get; set; }
    }
}
